<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>付款界面</title>
    <link href="/pharmacy/css/orderpublic.css" type="text/css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/pharmacy/css/orderbase.css"/>
    <script type="text/javascript" src="/pharmacy/js/jquery_cart.js"></script>
    <link rel="stylesheet" type="text/css" href="/pharmacy/css/buyConfirm.css" />
    <script src="/pharmacy/js/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script src="/pharmacy/js/unslider.min.js" type="text/javascript"></script>
    <script src="/pharmacy/js/index.js" type="text/javascript"></script>
</head>
<body>
<div class="banner_red_top">
</div>
<!--订单提交body部分开始-->
<div class="border_top_cart">
    <div class="container payment-con">
<%--        <form  target="_blank" id="pay-form" method="post">--%>
            <div class="order-info">
                <div class="msg">
                    <h3>您的订单已提交成功！付款咯～</h3>
                    <p></p>
                    <p class="post-date">成功付款后，7天发货</p>
                </div>
                <div class="info">
                    <p>
                        金额：<span class="pay-total">${orders.totalMoney}元</span>
                    </p>
                    <p>
                        订单：${orders.orderNo}                 </p>
                    <p>
                        配送：${address.receiverName}<span class="line">/</span>
                        ${address.receiverPhone}     <span class="line">/</span>
                        ${address.receiverProvince} ${address.receiverCity} ${address.receiverDistrict} ${address.receiverAddress}                                                                <span class="line">/</span>
                                                                     </p>
                </div>
                <div class="icon-box">
                    <i class="iconfont"><img src="/pharmacy/images/yes_ok.png"></i>
                </div>
            </div>

            <div class="xm-plain-box">
                <!-- 选择支付方式 -->
                <div class="box-hd bank-title clearfix">
                    <div id="titleWrap" class="title-wrap">
                        <h2 class="title">选择支付方式</h2>
                        <h2 class="title hide " >你还需要继续支付 <em>${orders.totalMoney}</em> 元</h2>
                        <span class="tip-tag"></span>
                    </div>
                </div>
                <div class="box-bd" id="bankList">
                    <div class="payment-bd">
                        <form name="ck">
                            <dl class="clearfix payment-box" >
                                <dt>
                                    <strong>支付平台</strong>
                                </dt>
                                <dd>
                                    <fieldset id="test4-input-input_tab1-input_tab2" style=" border:none;">
                                        <ul class="payment-list clearfix" >
                                            <li><input class="input_tab2 " name="myradio" id="r2" type="radio" checked/><label for="r2" ><img src="/pharmacy/images/zfb.png" alt=""/></label></li>
                                        </ul>
                                    </fieldset>
                                </dd>
                            </dl>
                        </form>
                    </div>
                </div>
                <div class="box-ft clearfix">
                    <input  class="btn btn-primary" value="下一步" onclick="pay(${orders.orderNo},${orders.totalMoney})" id="payBtn">
                    <span class="tip"></span>
                </div>
            </div>
<%--        </form>--%>
    </div>
</div>
<script src="/pharmacy/js/base.min.js"></script>

<script type="text/javascript" src="/pharmacy/js/buyConfirm.js"></script>

</div>
</body>
<script type="text/javascript">
    function pay(orderNo,totalMoney) {
        window.location.href="/pharmacy/alipay/pay?out_trade_no="+orderNo+"&price="+totalMoney
    }
</script>
</html>
